package com.gnss.common.proto;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author guangbinhuang
 * @date 2018/4/15
 * @desc 位置传输对象protobuf定义
 **/
@Getter
@Setter
@ToString
@ProtobufClass
public class LocationProtoDTO implements Serializable {

    /**
     * 位置信息
     */
    @Protobuf(fieldType = FieldType.OBJECT, order = 1, required = true)
    private LocationProto locationProto;

    /**
     * 终端信息
     */
    @Protobuf(fieldType = FieldType.OBJECT, order = 2, required = true)
    private TerminalProto terminalProto;
}
